center content in div

61

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item {
    width: 10em;
}

Comments

Submit
0 Comments